﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditCustomerCtrl.ascx.cs" Inherits="WebUI.Controls.EditCustomerCtrl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Panel ID="mainPanel" runat="server" CssClass="primaryFrameNoBorder">
   <table width="100%">
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="lblname" runat="server" Text="Name:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="require1" runat="server" ControlToValidate="txtName" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="Label6" runat="server" Text="Company:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtCompany" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label1" runat="server" Text="Group:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:DropDownList ID="ddlCustomerType" runat="server"></asp:DropDownList>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlCustomerType" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label2" runat="server" Text="Address:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label3" runat="server" Text="Phone:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label7" runat="server" Text="Mobile:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label4" runat="server" Text="Fax:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtFax" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label5" runat="server" Text="Email:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label8" runat="server" Text="Credit Line:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtCreditLine" runat="server"></asp:TextBox>
                <asp:FilteredTextBoxExtender ValidChars="." FilterMode="ValidChars" FilterType="Numbers, Custom" TargetControlID="txtCreditLine"
                    ID="FilteredTextBoxExtender1" runat="server">
                </asp:FilteredTextBoxExtender>
            </td>
        </tr>
   </table>
</asp:Panel>